Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 11 Feb 2018, 10:29
Inna Inna is offline
 
Join Date: Jul 2016
Possible to manually change links for threads?

Hi there, is it possible to manually change links of specific threads?
For example, site.com/showthread.php?t=123 and we just want this url changes to site.com/how-to-do-that.
Just some specific threads that only user-id 1 (and maybe other admins, not mods) may change or use it.
Requires modifying php files? Database tables?
I'm not sure what exactly to do.
Thanks in advance
Reply With Quote
  #2  
Old 11 Feb 2018, 15:12
Dave Dave is offline
 
Join Date: Jun 2010
If you only want to do it against a few threads, you can just write a few .htaccess rewrite rules (without redirect) that when a specific URL is called, they internally call a different URL.

However if it has to be more flexible, you're going to have to create a dynamic .htaccess rewrite rule and additionally modify some files (mainly showthread.php) which will take too much time/work for me to explain to you in a post here.

Last edited by Dave; 11 Feb 2018 at 15:34.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 12:28.

Layout Options | Width: Wide Color: