rankmath / seo-by-rank-math

Rank Math is a revolutionary WordPress SEO Plugin that combines the features of many SEO tools and lets you multiply your traffic in the easiest way possible :bulb: :chart_with_upwards_trend: →
https://rankmath.com
107 stars 52 forks source link

Redirection using site URL instead of home URL. #4

Closed Log1x closed 4 years ago

Log1x commented 4 years ago

Describe the bug I am using Roots Bedrock alongside RankMath. With Bedrock, WordPress is put into a sub directory (/wp/) – by default, RankMath is fetching the site URL for relative URL's causing my redirects to look like site.com/wp/<destination> instead of site.com/<destination>

Additional context Semi-related to #2

Log1x commented 4 years ago

https://github.com/rankmath/seo-by-rank-math/search?q=site_url&unscoped_q=site_url a large number of these need changed, actually.

Log1x commented 4 years ago

5

QWp6t commented 4 years ago

To be clear, installing WordPress in a subdirectory is an officially supported and documented setup that is not unique to Bedrock. Additionally, Bedrock also moves the wp-content folder, which is also officially supported and documented. RankMath should definitely take these into account. Bedrock's compatibility docs mention some common issues that plugin authors should avoid.

surajv commented 4 years ago

Hi @Log1x & @QWp6t,

Thank you for the details, assigned this to our developer and we are working on it, once the beta is ready, I will inform you.