hanan.baroz
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: htaccess, wordpress and cnamesyes, you got it.
as for the question “why”….
because http://www.domain.com contains a different partition of the website (it’s a big website). that’s why i said http://www.domain.com/blog/ should point there, so the surfer “stay” under one roof.Obviously i can stick with the cname.domain.com instead. but for SEO (damn’ you google! – i hope i don’t upset the internet gods :)) purposes i need to have it in this specific format: http://www.domain.com/blog/
*refills Jan Dembowski coffee* 😉
Forum: Fixing WordPress
In reply to: htaccess, wordpress and cnamesThere’s no old or new.
both will still continue working (also, there’s only one wp install – on server 2)this is the behavior i’m trying to achieve:
whenever a surfer goes to http://www.domain.com/blog the browser will be pointed to the “source” files on cname.domain.com (and not redirected). the url, on the address bar must remain http://www.domain.com/blog/.I want all the inner links on the WP server to appear as
http://www.domain.com/blog/category/post-name1/
http://www.domain.com/blog/category/post-name2/
etc…(that’s why i made the change in the wp-admin settings)
but the source files (wp installation, images and so on) will remain on cname.domain.com…
thanks again to you both.
and i’m sorry if i wasn’t clear enough about my problem.Forum: Fixing WordPress
In reply to: htaccess, wordpress and cnamesI should have explained better….
The domains are being hosted in two different hosting servers….
So: http://www.domain.com points to server1 (that’s where my “custom” htaccess (mentioned above) resides).
And cname.domain.com points to server2 (which contains my wp installation)That’s why i’m using RewriteProxy because one server is linking to the other.
If i use RewriteRule it won’t mask the URL but redirect it to cname.domain.com.
As i mentioned, the url should eventually look like this: http://www.domain.com/blog/wordpress-stuff/Regarding the target address, i’ll fix it, thanks. 🙂