• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

How can i redirect a old / deleted thread URL to a new page ?

#1
I recently deleted a thread on my forum and re-added it as a resource. Now whenever visitors click my thread URL, they obviously get this:



Now is there a way to make that redirect to the resource?
Or if not, at least make it auto redirect to homepage
Doesnt seem to work using the cpanel redirect.

Thanks
 

Tracy Perry

Well-known member
#2
I recently deleted a thread on my forum and re-added it as a resource. Now whenever visitors click my thread URL, they obviously get this:



Now is there a way to make that redirect to the resource?
Or if not, at least make it auto redirect to homepage
Doesnt seem to work using the cpanel redirect.

Thanks
Depends on whether you are using Apache or nginx or lightspeed. The rewrite rules are different.
 

Kevin

Well-known member
#3
I recently deleted a thread on my forum and re-added it as a resource. Now whenever visitors click my thread URL, they obviously get this:



Now is there a way to make that redirect to the resource?
Or if not, at least make it auto redirect to homepage
Doesnt seem to work using the cpanel redirect.

Thanks
If you are using Apache, try this in your .htaccess (if you already have "RewriteEngine On" don't re-add it, just add the "Redirect" line...
Code:
RewriteEngine On
Redirect 301 {OLD URL} {NEW URL}
For future use, instead of deleting the original thread just re-assign it to the Resource using this add-on....

http://xenforo.com/community/resources/resource-manager-thread-reassign.1560/
 
#6

Kevin

Well-known member
#7
this didnt work, still cant get the redirect working.
Did Jake get you via PM?

If your old & new URLs look like the below...

Old URL: http://MySite.com/Something.php?do=1
New URL: http://MySite.com/Else.php?instead=1

... then your .htaccess entry would be:
Redirect 301 /Something.php?do=1 http://MySite.com/Else.php?instead=1
 
#8
Did Jake get you via PM?

If your old & new URLs look like the below...

Old URL: http://MySite.com/Something.php?do=1
New URL: http://MySite.com/Else.php?instead=1

... then your .htaccess entry would be:
Redirect 301 /Something.php?do=1 http://MySite.com/Else.php?instead=1
yes ive tried the rewrite jake gave me and yours, still no luck.