url rewrite

More
5 years 1 week ago - 5 years 1 week ago #6154 by Valberg
Valberg created the topic: url rewrite
Hi

I am trying to get URL rewrite to work, but have limited success. Joomla 3.3.3 using the demo install.

I rename the htaccess.txt to .htaccess, that causes the admin/backend interface to be unreachable. If i enabe url rewrite in joomla first, then rename the file i get:

- I can access the frontend, but not the backend. The frontend URLs do get "SEO friendly" but;
- The frontend gets a bit distorted, like the font is magnified.
- Intermittently the site goes down.

I haven't done much changes yet from the base.

My host is enoise,

Am i doing something wrong, or will url rewrite generally not work well for this template?
Last Edit: 5 years 1 week ago by Valberg.

Please Log in or Create an account to join the conversation.

More
5 years 1 week ago #6159 by artur
artur replied the topic: url rewrite
Hello,
URL Rewrite should work well with all templates.
This is probably the problem with server configuration.
The best way is to contact with your hosting provider in this case.

Please Log in or Create an account to join the conversation.

More
5 years 1 week ago #6186 by Valberg
Valberg replied the topic: url rewrite
Thanks Artur

I have done that and they insist mod_rewrite is enabled. I also ran a quick test by adding the following to my .htaccess

RewriteEngine On
Options +FollowSymLinks
RewriteRule ^joomla\.html www.joomla.org/ ? [R=301,L]

And then tried to access mysite.joomla.html And i correctly got joomla.org.

But whenever I rename the htaccess.txt to .htaccess i loose access to the back-end.

If i rename it back to .txt > enable re-write in joomla > rename to .htaccess = no back-end access and distorted front-end. Note, the URL;s do get rewritten and accessed. But the chars and menus gets magnified and distorted.

I have tried with and without "RewriteBase /", but no difference.

Is there any log files that can give some clues?

The template hasn't been changed much yet, i did however upgrade joomla to 3.3.3.

Any advise would be appreciated.

Please Log in or Create an account to join the conversation.

More
5 years 6 days ago #6188 by artur
artur replied the topic: url rewrite
Hello,
Your hosting provider should give you logs (and advice how to fix the problem on this server :) ).

You can also try :
1) download clean Joomla 3.3.3 and copy .htaccess from package to your installation
2) enable Error Reporting - System -> Global configuration -> Server -> Error reporting -> Development (and check backend)

Best Regards.

Please Log in or Create an account to join the conversation.

More
5 years 6 days ago #6203 by Valberg
Valberg replied the topic: url rewrite
Hi Again Artur, and thanks for the suggestions.

testing a "clean" htaccess.txt i had already done before i posted. I enabled development logging, but here is the thing. There is no errors logged, but yet as soon as i rename htaccess.txt to .htaccess i loose access to backend etc as mentioned before.

So i went ahead and installed a fresh Joomla site in parallel under same public_html directory. This installation works flawlessly. No loss of backend access, and no distorted front-end.

I can send the jcontroller.log.php and error.php, but there is nothing written during my tests.

Any other suggestions?

My current install is basically the quickstart.zip updated to joomla 3.3.3.

Thank in advance

Tore

Please Log in or Create an account to join the conversation.

More
5 years 6 days ago #6204 by Valberg
Valberg replied the topic: url rewrite
Ahh, I think i found the problem.

At least after i disable "Unicode Aliases" it starts working.

Thanks for your help and suggestions :)

Please Log in or Create an account to join the conversation.

Time to create page: 0.272 seconds

INDICO S.C.

ul. Wałowa 10/3, 84-200 Wejherowo, registered in Centralna Ewidencja i Informacja o Działalnosci Gospodarczej
NIP/VATID: PL5882424318

Copyright © 2009-2019 Joomla-Monster.com All rights reserved.

Joomla-Monster.com and this site is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.