Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 19 Mar 2019, 14:56
issirius issirius is offline
 
Join Date: Jan 2019
How to set 301 redirect?

Hello, I want to set 301 redirect.

I opened .htacces, that I've renamed after install process from htaccess.txt

I add the following condition to the end of file:

<IfModule mod_rewrite.c>
RewriteEngine On
RedirectMatch 301 /forum/forum6/thread94188.html#post575816 /forum/subforlder-1/subfolder-2/96098-yoni-the-bassist-the-flow-of-emotions-2018-video
</IfModule>
Reply With Quote
  #2  
Old 19 Mar 2019, 20:33
delicjous's Avatar
delicjous delicjous is offline
 
Join Date: Nov 2014
As I remember you have to put it into the beginning of the file... I could not look into that right now, but I think there are other redirects in the middle of the file and your will not work at the end.
__________________
vBulletin-forum.de | Das deutschsprachige vBulletin 5 Forum! | Widgets, Mods und Anleitungen auf deutsch.
Team online, Latest Profile-Visitors, Disable-Postcount, Auto-close Threads, Latest Likes, Top-Posters PRO, New&Free: vB5 MemberMap
Reply With Quote
  #3  
Old 20 Mar 2019, 09:52
issirius issirius is offline
 
Join Date: Jan 2019
Originally Posted by delicjous View Post
As I remember you have to put it into the beginning of the file... I could not look into that right now, but I think there are other redirects in the middle of the file and your will not work at the end.
I add to the begin of the file. But it doesn't work. The url doesn't change. No redirect and I see typical page for post not found.
Reply With Quote
  #4  
Old 20 Mar 2019, 10:06
delicjous's Avatar
delicjous delicjous is offline
 
Join Date: Nov 2014
Should look like this:



Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Redirect is only an example!
__________________
vBulletin-forum.de | Das deutschsprachige vBulletin 5 Forum! | Widgets, Mods und Anleitungen auf deutsch.
Team online, Latest Profile-Visitors, Disable-Postcount, Auto-close Threads, Latest Likes, Top-Posters PRO, New&Free: vB5 MemberMap
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 00:14.

Layout Options | Width: Wide Color: