Wordpress - 404 Fout - Apache Server

Status
Niet open voor verdere reacties.

Dovoda

Gebruiker
Lid geworden
1 mrt 2008
Berichten
40
Ik heb via mijn hoster WP geinstalleerd. Nu wil het nog niet helemaal goed werken.


Bij het Dashboard krijg ik bij het klikken op Media en Plugins de volgende foutmelding:

Error occurred: 404 - not found
Apache Server at: s8867.cp.hostnet.nl

Wat gaat er fout?
 
Klinkt alsof je permalinks settings niet goed zijn, wat heb je in je .htaccess file staan ? ;)
 
Ik heb onderstaande geGoogled en toegepast maar dat wil niet helpen!

http://www.squidoo.com/wordpress-not-found-error-fix

In de wp-admin map zat geen .htaccess.

Ik heb er één aangemaakt en de instellingen overgenomen, maar het helpt niet.


En dat komt volgens mij om de volgende reden:

Ik heb een WP template gekocht.
Die heb ik geinstalleerd volgens de handleiding.

Halverwege de installatie moest ik het volgende doen:

Open the theme1420.sql file that is located in the sources folder with any text editor (preferably Dreamweaver or Notepad) and replace all instances of "your_website_url_here" with your website URL in the entire document using the Find and Replace tool (usually the Ctrl+H hot key). E.g.: http://www.mywebsite.com

Please, make sure that you do not have the forward slash "/" sign at the end of the address.

Save your changes and close the file.

Next, you can import the dump file with the phpMyAdmin tool or some other database management tool.



In de handleiding staat dat deze handeling de permalinks direct goed zet.
Dat was ook zo. De permalinks stonden direct op: Custom Structure: /%category%/%postname%/


Is er iets fout gegaan in het aanpassen in dit .sql bestand?
Ik weet zeker dat ik de / aan het eind van elke url heb weggelaten.
 
Laatst bewerkt:
.htaccess moet niet in de map wp-admin, maar in de root directory van je webserver, dan werkt het wel ;)

Dus .. In WP-Admin GEEN .htaccess ..

Suc6! ;)
 
.htaccess moet niet in de map wp-admin, maar in de root directory van je webserver, dan werkt het wel ;)

Dus .. In WP-Admin GEEN .htaccess ..

Suc6! ;)

In de root stond inderdaad nog een .htaccess bestand.
Ik heb de .htaccess in wp-admin verwijderd.

Maar nog steeds wil het niet lukken.

U kunt wel kijken op http://www.1000likers.nl
Als je op een link klikt verschijnt een foutmelding:

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Wat moet er precies in de .htaccess staan? Nu staat het volgende bij mij:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress
 
Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

Dit heb ik er in staan, in de .htaccess file, maar het éen en ander is afhankelijk van hoe jij je permalinks hebt ingesteld: Dashboard -> Instellingen -> Permalinks ..

Als je die eens op: "standaard" zet, werken je links dan wel !?
 
Verrekt!

Als ik de permalinks op standaard zet werkt het wel!

Maar daar ging ik niet vanuit omdat onderstaande in de installatiehandleiding van de template stond:



In this template the Permalinks are used, the standard paths of http://demolink.org/?p=1 are replaced with http://demolink.org/home. This way of links configuration can be used by not only our blog followers but will help in SEO-optimisation as well. The effectiveness and main features of this link configuration method are revealed here - http://codex.wordpress.org/Using_Permalinks

Please follow the steps below:
Log in to your WordPress Administration Panel (Dashboard).
Click the Settings
That done, click Permalinks
In permalinks settings please select Custom structure, after that copy and past the following settings /%category%/%postname%/
With that done, click the Save changes button.



Ik snap niet waarom ze dat dan aangeven...

Nu werkt alles wel met 'standaard' permalinks. Echter heb ik geen SEO vriendelijke URL's. Maar dat is ook geen must!


Super bedankt voor je hulp en je meedenken!

Waar de fout ligt weet ik nog niet, maar het alternatief is voorlopig ook super!
 
Je template heeft niet zoveel van doen met permalinks, wordpress zelf wel ;)
 
Ik kreeg bericht van de Helpdesk van mijn hoster...

Blijkbaar kon ik ook het volgende doen:


Webhostingpakketten bij Hostnet ondersteunen .htaccess configuratiebestanden. Wanneer u wilt gebruikmaken van een htaccess-bestand kunt u deze via FTP uploaden naar uw webhosting.

Hierna dient u het htaccess-bestand indien uw webhosting pakket opgeleverd is na 4 augustus 2011 te worden gesynchroniseerd met de server, zodat uw instellingen worden geactiveerd.


Om uw htaccess-bestand te synchroniseren, volgt u deze stappen:

Log in op het Control Panel.
Klik in het linkermenu op Domeinen.
Klik op uw domein.
Klik op Webhosting Instellingen.
Klik op Sync .htaccess.

Uw htaccess-bestand wordt gesynchroniseerd en binnen enkele minuten zijn de instellingen actief.




Ik heb het uitgeprobeerd met Sync .htaccess van mijn hoster en nu werken Custom Permalinks wel!
 
Laatst bewerkt:
Status
Niet open voor verdere reacties.

Nieuwste berichten

Terug
Bovenaan Onderaan