Announcement

Collapse
No announcement yet.

.htacess 301 redirects

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • .htacess 301 redirects

    Hello,

    I am trying to setup a 301 redirect and I am having no such luck with it.

    My url structure for my forum goes /forum/vbb/

    I have noticed in webmaster tools that google has found quite a few websites that link to /forum which is giving access denied errors

    I tried to set up a redirect for /forum to my full forum url but instead it causes any url to my forum pages to be redirect to a repeated /forum/vbb/forum/vbb etc url which of course doesn't work!

    Is there any way I can redirect properly?

    Thanks

  • #2
    Put this in /forum directory:

    Code:
    Options +FollowSymLinks
    RewriteEngine on
    RewriteRule (.*) http://yourdomain.com/forum/vbb/$1 [R=301,L]
    doc truyen - truyen tien hiep - truyen ngon tinh

    Comment

    Related Topics

    Collapse

    Working...
    X