Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Help with RewriteRule, please

Guest
May 30, 2007 May 30, 2007

Copy link to clipboard

Copied

Can someone tell me why my rewrite isn't working?? (server 500 error) I have put this code (using example directory names here) into a .htaccess file placed in the root of the redundant directory.

Is it my coding, the location of the file, the syntax...??? I am completely new to this so if I'm missing any info here, let me know!


RewriteEngine on
RewriteRule ^(.*)$ http://www.mydomain.com.au/new/location/$1
TOPICS
Server side applications

Views

191
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 30, 2007 May 30, 2007

Copy link to clipboard

Copied

LATEST
Try

RewriteRule ^(.*)$ new/location/$1

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines