So I was struggling with it all day and nothing has been able to help so far. I found a PyroCMS root in the domain and a sub-domain blog in the same folder (public_html).
The problem now is that when I'm watching the blog, blog.iber.co instead. Obviously that's because the blog folder is present and it's not just a URL rewritten by htaccess.
Folder structure:
public_html blog. Htaccess .index.php etc .. htaccess index.php etc. However if I remove the htaccess from the blog folder dev.iber.co.uk/blog/ then index.php should be written again.
Here is .htaccess for dev.iber.co.uk (it indicates subdomain actually Sarwajnik_acmel root folder):
Options + follow link -indeks Riwretingin on Riibretbes / Reedayrektmac 403 ^ / (system \ / CMS / cash | systems \ / codeigniter. \ .git. \ .hg). * $ Rewrite% {HTTP_HOST}! ^ Blog \ .eeber \ .co \ .uk [NC] rewritecode% {REQUEST_FILENAME}! -f rewrite code% {REQUEST_FILENAME}! -d Rikraitarul ^ (. *) $ Index.php [L] Here's .htaccess from WordPress blog:
Options + follow links -indeks Rivritinjin on Riraitcond% {HTTP_HOST} ^ blog \ Kibr \ registr \ .uk [NC] Riiritcond% {REQUEST_FILENAME}! -f rewrite command% {request T_FILENAME}! -d Recruitment rule ^ (. *) $ Index.php [L] What am I doing wrong? I do not have access to write again because it is shared server
Thank you
< P> In parent htaccess, will it solve your situation or / blog / path dev.domain to Riwaitingin% {at RewriteBase / RewriteCond HTTP_HOST} ^ dev.iber.co.uk $ [NC] Riraitcond% {REQUEST_URI} ^ / blog / [NC] Riraitrele ^ / blog /(.*)$ blog Iber. Co.uk/$1 [R = 302. L] ... other rules
Comments
Post a Comment