close

Why should you register with JoomlaDigger.com?

JoomlaDigger.com is a free community website where users can learn about web development, Joomla! and how to bring more traffic to their websites while contributing their own knowledge. Our members enjoy several benefits, including email notifications of new products and updates, access to the forums, and the ability to give back to the community by submitting content to be posted on JoomlaDigger.com (with links directly to their own websites). And best of all, it's FREE!
Membership Features
  • Email notifications for new content, extensions and updates.
  • Full access to our forums for Joomla! development and extension support.
  • Ability to contribute content and weblinks to gain prominent links to your own website.
Top Panel
Why Register?
Top Panel
Welcome, Guest
Please Login or Register.    Lost Password?
1.5.5 sef change killed all my bookmarks. Help! (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: 1.5.5 sef change killed all my bookmarks. Help!
#1260
1.5.5 sef change killed all my bookmarks. Help! 3 Months ago Karma: 0  
After installing the 1.5.5 upgrade all of my urls changed. This means that all of my bookmarks (350 diggs alone) are no longer valid. I am not getting much help trying to find out how to revert joomla back to its old sef method, but I figured since the old urls still work, There might be an edit I could make to the plugin to use the old urls. I know you probably aren't all that excited about someone editing your module, but if I am to continue using it (and I don't like the other ones out there) then I need to fix it.

To give you an idea of what changed incase you dont already know, here are 2 examples of my urls:
Old: blueballdomains.com/domain-names-blog/34...oomla-15-module.html
New: blueballdomains.com/domain-names-blog/58...oomla-15-module.html

Both lead to the same page so tricking the plugin into using the old version wont impact my site. Please let me know if you have any ideas where my changes need to be. I am sure if I can find the variable that the plugin reads to get the article url, I could use little php/regex to insert the category into the url and hopefully that would work. Thank you for your time.

Justin
Blueballdomains.com
DarkriftX (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
The administrator has disabled public write access.  


#1261
Re:1.5.5 sef change killed all my bookmarks. Help! 3 Months ago Karma: 0  
Ok, I decided to start messing around with it and I think I fixed it. I replaced a line in the php file with the following:
$text = str_replace('***url***', str_replace("'", "", str_replace("/domain-names-blog/","/domain-names-blog/34-blue-ball-domains-blog/", $thisurl), $thisurl), $text);

and it seems to have worked. If you could do me a huge favor and just browse through this code and tell me if you see anything that might break this (I am pretty new to php). I understand this will break this plugin for any other section other then this, but that shouldnt be a problem for me since this is my blog and the rest of my pages arent bookmarked.
DarkriftX (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
The administrator has disabled public write access.  


#1262
Re:1.5.5 sef change killed all my bookmarks. Help! 3 Months ago Karma: 8  
If that works then use it, but keep in mind that you'll only be able to use the plugin for that specific section. The real problem is with changing your URL structure though.

The built-in method for migrating old URLs is to add the code to your articles' intro text to specify the different URL to use, but you'll have to do it once for each article.

Code:

{socialbookmarker}sburl="http://www.yourwebsite.com/url.htm" sbtitle="The title you want submitted to the Social Bookmarking websites" sbdescription="Description of this content."{/socialbookmarker}


See the plugin information page on this site for the exact code to use. If you have time to do add that code to each article then that is what I recommend instead of the code change you made.
webmaster (Admin)
Moderator
Posts: 654
graph
User Online Now Click here to see the profile of this user
Logged Logged  
 
The administrator has disabled public write access.  
Go to top
RSS Feed Add to iGoogle Add to Yahoo Add to PageFlakes Add to Netvibes Add to Technorati

Copyright © 2007-2008 JoomlaDigger.com. All rights reserved. Website by P.J. Swesey