ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Rewrite Question/Issue..

August 01, 2008 2:20pm

Subscribe [2]
  • #1 / Aug 01, 2008 2:20pm

    josephvv

    23 posts

    Hello,

    Everything was working fine until just recently and now all the pages go to the homepage

    IE, mydomain.com/About-Us,mydomain.com/Contact-Us goes to mydomain.com now

    I can view my pages if I manually plug in the url string..
    mydomain.com/index.php/About-Us

    Ive tried a method from a previous thread but this didnt work .. It was working before with this method :

    RewriteEngine On
    
    RewriteCond $1 ^({exp:query sql="SELECT group_name FROM exp_template_groups"}{group_name}|{/exp:query}P[0-9]{2,8}) [NC]
    
    RewriteRule ^(.*)$ /index.php/$1 [L]

    i would run the above in the template section and it would generate the code to insert into the .htacces file

    help?

    thanks!!

    -Joseph

  • #2 / Aug 01, 2008 4:15pm

    Ingmar

    29245 posts

    Hi, does this article help?

    Do you’ve got a name to your site? Also, which version and build are you on? Does it work when you remove the .htaccess rewrite?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases