Unstoppable Domains

[MOD Rewrite] Redirecting SEO URL's

Spaceship Spaceship
Watch

sOliver

Established Member
Impact
151
I want to permanently redirect old seo urls to topic urls.

topic-title.html redirect to viewtopic=4439.blah




RewriteRule ^([ct])([0-9]+)\.html$ ./viewtopic.php?f=$1&t=$2&$4 [L]


Redirect:
Redirect permanent ^([ct])([0-9]+)\.html http://www.domain.com/viewtopic.php?f=$1&t=$2&$4 [301,L]



I'm not so familiar with rewriting url's, the code above will probably give out an internal error, can anyone give me a hint how to do it?

Thanks,
Oliver
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable DomainsUnstoppable Domains
I think you are runing on smf , just set off the seo urls from the admin cp and delete .htaccess if needed . I hope i helped you !
 
0
•••
It is not just a case of creating the rewrite rules. You will also need to change the coding of the forum to point to these URL's.

The chances are however that there will be a mod for the forum that you use that will do it for you.

To carry out mod_rewrite on a forum properly you need quite a few rules.
 
0
•••
ok here is the situation :
i was running phpbb2 a year ago with a seo mod then I upgraded to phpbb3 and made my own seo mod .. it wasnt working smoothly so I decided to use topic urls because a forum is only usefull if it has a fast loading speed

anyway there are SEO URLS indexed by google and i have some articles with more than 150k views so I want to do a permanent redirect from seo to topic url
that's why I can't simpy remove the rewrite rules I need a proper rewrite rule

thanks for your help.. this will help me to get my PR4 (5000 backlinks and still PR3)
 
0
•••
Dynadot — .com Registration $8.99Dynadot — .com Registration $8.99
Appraise.net

We're social

Unstoppable Domains
Domain Recover
NameMaxi - Your Domain Has Buyers
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back