.htaccess and other issues
-
Hi,
I’m using theme elucidate for the blog: https://www.apuraessenciadoser.comThe wordpress files are hosted under the subdmain: apeds.artesanatodapalavra.com
I need to host under this subdomain and then redirect to that another one. And then I’m having some troubles with the URLs:
1 – As the subdomain is working such like a folder under the root, when I try to click to see “older posts”, it gives a weird URL: https://apuraessenciadoser.com/apeds/?paged=2
It’s the second domain, but with the subdomain folder, it doesn’t make sense! An error of redirect. It could work if it was “apeds.artesanatodapalavra.com/?paged=2” (if you type you can see the page with older posts), and also works if you type “https://artesanatodapalavra.com/apeds/?paged=2”. But I need it to be “https://apuraessenciadoser.com/?paged=2” (this also works if you type)
2 – It didn’t give me the URL when I click some where, like a category, or a tag, it still “apuraessenciadoser.com” and not “apuraessenciadoser.com/category”
3 – I’ve created the htaccess, but I only get this error messages:
Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/artesanatodapalavra.com) in /home/artesanatodapalavra.com/www/apeds/wp-admin/options-permalink.php on line 133Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/artesanatodapalavra.com) in /home/artesanatodapalavra.com/www/apeds/wp-admin/includes/misc.php on line 170
only when I’m trying to change the perm links.
The .htaccess code is now this one:
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # add a trailing slash to /wp-admin RewriteRule ^wp-admin$ wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^(wp-(content|admin|includes).*) $1 [L] RewriteRule ^(.*\.php)$ $1 [L] RewriteRule . index.php [L] </IfModule>
So, what’s wrong? The htaccess? Maybe I should try another theme? Installing a plugin? Reseting it all?
I just can’t understand whats is going wrong.
Thank you.
- The topic ‘.htaccess and other issues’ is closed to new replies.