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.

URL rewrite clarification

November 20, 2011 4:09pm

Subscribe [2]
  • #1 / Nov 20, 2011 4:09pm

    adrake9

    57 posts

    I have a website that has been online for a couple of months and I have just recently switched to a host that will allow a .htaccess file so now I’m prepared to remove the index.php from the url. My question (and not being very experienced w/ htaccess) is this: Will past links that may have included the index.php in the url still go to their links within the site?

    mysite.com/index.php/portfolio/

    will be the same as:

    mysite.com/portfolio/

    and the index.php still exists but is not what is displayed in the url?

    Just need some clarification, any help is appreciated.

  • #2 / Nov 20, 2011 8:00pm

    If you setup your htaccess correctly your old links will forward (301 permanent) to their non index.php equivalent, nothing will break. It will take search engines a bit of time to pick up and reflect the changes but you won’t loose any traffic or drop from indexes. The index.php will still be there on the backend but hidden, you are correct.

  • #3 / Nov 20, 2011 8:58pm

    adrake9

    57 posts

    Thank you. I was hoping that was the case. And thank you for the quick reply.

  • #4 / Nov 20, 2011 8:58pm

    adrake9

    57 posts

    Thank you. I was hoping that was the case. And thank you for the quick reply.

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

ExpressionEngine News!

#eecms, #events, #releases