The requested URL /x/ was not found on this server

This error started appearing today when I try and edit a page via cornerstone.

My current permalink settings is (none seem to work) post name

my htaccess is:

# 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⏎      

and in my apache.conf I have

<Directory /var/www/>
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted
</Directory>

Hi There,

Thanks for writing in!
This is something g related to permalink setting.
I believe the htaccess is not have writing permission.
Please check this article for help!

Thanks

Thanks for the quick reply @basanta.

I have checked (reapplied to be safe) my permissions. I able able to use cornerstone now using “plain” permalinks but they still fail with the same error using “post name”. The solutions I have tried from google haven’t worked for me yet.

Cheers

New error found now as well.

In cornerstone when I try to access the elements menu I get the following similar error

The requested URL /content/7/elements was not found on this server.

Hi There,

It could be mode rewrite issue related which is responsible for permalinks. If it’s not configured or supported by your hosting, then you’ll get 404 on most of the pages. It maybe different from host to host so you may contact your hosting provider about that issue.

Thanks!

Hi @thai

It is hosted on my own servers. This is an apache setting right?

@thai

sudo a2enmod rewrite

did not solve my problem. I have followed this and still no luck

ok I think deleting my htaccess and then switching the permalink in wordpress (i think forcing regeneration of htaccess) seems to of done it. No idea why as I don’t think the contents changed

Glad to know!
Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.