Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

The 'Use URL Rewriting' is not working

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Everything works if I turn this off, but then index.php shows up on every page. How do I enable Use URL Rewriting so index.php turns off and articles show up correctly?
  • OvalPiston's Avatar
  • OvalPiston
  • 6 Month Developer
  • 57 posts
  • 1 Thanks
  • Karma: 0
Last Edit: 7 years 6 months ago by OvalPiston.
The administrator has disabled public write access.
Hi Mike,

I may have asked this question but is this the server the site will be hosted on when its completed?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi,
In order to use Joomla's url rewriting, you need to rename the file in the root called htaccess.txt to
.htaccess

This works for linux based hosting.

Read more here: docs.joomla.org/Enabling_Search_Engine_Friendly_(SEF)_URLs

Regards,

Rob
  • Robert Went's Avatar
  • Robert Went
  • Moderator
  • 2210 posts
  • 196 Thanks
  • Karma: 90
The administrator has disabled public write access.
The following user(s) said Thank You: OvalPiston
Yes it is the same server.

Adding RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] in .htaccess under /var/www/html seems to have done the trick.

Does it matter if it's the same server?
  • OvalPiston's Avatar
  • OvalPiston
  • 6 Month Developer
  • 57 posts
  • 1 Thanks
  • Karma: 0
The administrator has disabled public write access.
No I was thinking you were in the development stage of the site and would be moving it to a new host once site is finished

Cheers
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Robert Went wrote:
Hi,
In order to use Joomla's url rewriting, you need to rename the file in the root called htaccess.txt to
.htaccess

This works for linux based hosting.

Read more here: docs.joomla.org/Enabling_Search_Engine_Friendly_(SEF)_URLs

I voice what Rob said on his post... you have to rename your htaccess file, but your server must be Apache
  • Paulo Griiettner's Avatar
  • Paulo Griiettner
  • Moderator
  • 15 posts
  • 3 Thanks
  • Karma: 1
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers