Start ::
PostNuke 0.7 Support ::
XTE Support ::
Rewrite rule to change from news_index###.html to...
Moderated by: Support Team
-
- rank:
-
Freshman
- registered:
- January 2003
- Status:
- offline
- last visit:
- 04.12.04
- Posts:
- 9
Article###.html
I had SnakeSEO installed when I was running an older version of PN. I upgraded to .750 Gold and I'm using the Xanthia shorturls. The new ShortURLs are working great. Google still has the "old" SnakeSEO urls. Rather than wait for Google to reindex all 1000+ news stories...
Is there a rewrite rule to change the old SnakeSEO URL to the new Xanthia ShortURL?
i.e. change http://www.domainname.com/news_index111.html to http://www.domainname.com/Article111.html
I have tried changing or adding things to /modules/Xanthia/plugins/outputfilter.shorturls.php but have been unsuccessful. I'm guessing the key to resolution is in the .htaccess file but I have no idea how to modify an existing rule to do the job.
Thanks for any help. -
- rank:
-
Helper
- registered:
- June 2004
- Status:
- offline
- last visit:
- 29.04.05
- Posts:
- 167
You are right. The best solution is probably to add a line to the .htaccess that rewrites articlexxx.html but leave the outputfilter that way google will find new articles with the new URL style. Probably even better would be a way to forward the articlexxx.html to the new URL, but im not sure how to do that. Anyway, if you start looking at the rewrite rules, you should be able to figure out approximately how it works and add the proper line. If you can't I'll take a look at it when i get home. -
- rank:
-
Freshman
- registered:
- January 2003
- Status:
- offline
- last visit:
- 04.12.04
- Posts:
- 9
I'm trying to modify a rewrite rule. I'm not having much luck yet though. This is what I have now.
I added this under the other two but it isn't working.
Any idea what I have left out or where I'm going wrong?
Start ::
PostNuke 0.7 Support ::
XTE Support ::
Rewrite rule to change from news_index###.html to...
