sabertooth1959 on "WorkPress is Redirecting all my pages"

ساخت وبلاگ

sabertooth1959
Member
Posted 5 hours ago #

Hi, I have an issue with my WP Site. I have a Wp Installed on a domain http://extremebizadvertising.com and a folder on the same domain with another WP Installed. http://extremebizadvertising.com/Likes/
All my pages from the "Likes" folder WP install (other than the static front page) is going to the static front page on the First WP installed on the domain.
http://extremebizadvertising.com

The link in the browser says the right name of the page and right WP folder install but the page is the front page of The domain install.
Example:
The URL below is a page on the "Likes" folder WP Install and that is what is showing in the browser address bar
http://extremebizadvertising.com/Likes/10-proven-tricks-you-should-start-using-today/
BUT The page on my computer screen is showing static front page of
http://extremebizadvertising.com

I have had a couple people fix it by reinstalling WP on the "likes" folder and this did work for a couple hours then it reverted back to the same problem.
The last guy said my WP Install on this root domain (http://extremebizadvertising.com)
was but I did several scans and the site is clean.

Please Help if you can
Garry

Hello sabertooth1959,

Can you please check the siteurl and home in wp_options table in database of site "http://extremebizadvertising.com/Likes/" may be this URLs are going to "http://extremebizadvertising.com/".

Thanks

sabertooth1959
Member
Posted 7 minutes ago #

Hi, and thanks you for your suggestion. I did check what you said and yes both sites URL http://extremebizadvertising.com/Likes/ and home
http://extremebizadvertising.com/Likes/ are both pointing to the right location. After further investigation, it appears that all the pages work with default permalinks set, but when I set it to page name it creates a .htaccess that looks like this
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /Like/
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress
But when I view it in file manages the /Likes/ is stripped in RewriteBase.
# 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>

If I manually change it and add the /Likes/ it changes back after saving it.
Any other suggestions with this new information?

Thanks
Garry

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 266 تاريخ : چهارشنبه 19 خرداد 1395 ساعت: 14:49