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

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:

2Ezaq.png


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
 
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:

2Ezaq.png


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.
 
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:

2Ezaq.png


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/
 
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
 
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.
 
Top Bottom