Post by Loeffen » Sat Jan 22, 2011 11:40 pm

Ik heb een probleempje..

Ik heb een .htaccess file geupload naar mijn server, maar nadat ik dat had gedaan, kon ik niet meer inloggen via /admin.

De code:

Code: Select all

RewriteEngine On
RewriteBase /tablet
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\?*$ index.php?_route_=$1 [L,QSA]
# Added for non www queries
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule (.*) http://www.%{HTTP_HOST}/$1 [R=301,L]
Deze code kreeg ik van mijn hosting (One.com), omdat een aantal dingen eruit moesten (-Indexes en +FollowSymLinks)

Weet iemand hoe ik in godsnaam die SEO URLS krijg, maar wel gewoon kan inloggen in mijn back-end.

Newbie

Posts

Joined
Thu Oct 21, 2010 10:46 pm

Post by i2Paq » Sun Jan 23, 2011 12:18 am

Wat zegt je hoster?

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by Loeffen » Sun Jan 23, 2011 12:27 am

Heb het daar al gevraagd bij de Live Support, maar na een tijdje, zeiden ze me dat ik het beter hier kon vragen...

Want wanneer ik het .htaccess file verwijder van de server, dan is alles normaal. Maar dan mis ik weer de SEO-URLs.. en die wil ik toch zeker wel hebben.

Newbie

Posts

Joined
Thu Oct 21, 2010 10:46 pm

Post by Gerrit » Mon Jan 24, 2011 10:32 pm

Je zou eens met de phpinfo file kunnen kijken of je wel mod_rewrite geinstalleerd hebt staan bij Apache.
What do I need to get mod_rewrite working?
There’s pretty much only one thing you’ll need to get mod_rewrite working for you, and that’s to have the mod_rewrite module installed on your Apache server!

For the purpose of this article, I’m going to assume that you don’t have access to view or edit the Apache server httpd.conf file, so the easiest way to check whether the mod_rewrite module is installed will be to look on your phpinfo page. If you’ve not already created one of these for yourself, just copy and paste the following code into an new text file using your favourite text editor, save it as phpinfo.php, and upload it to your server:

<?php phpinfo(); ?>Load that page up in your web browser, and perform a search for “mod_rewrite”. All being well, you’ll find it in the “Apache loaded modules” section of the page. If it isn’t there, you’ll have to contact your hosting company and politely ask them to add it to the Apache configuration.
Zie meer van dit artikel hier : http://www.workingwith.me.uk/articles/s ... od_rewrite

For modelcars cars see my OC 3.0.2.0 shop: http://www.gbcars.nl/
For Wooden Toys see my 2.3.0.2 shop: https://www.dehoutentreinenwinkel.nl/


User avatar
Active Member

Posts

Joined
Fri Nov 27, 2009 9:06 pm
Who is online

Users browsing this forum: No registered users and 7 guests