• Resolved therealrobinrobin

    (@therealrobinrobin)


    Hi,

    We are in a situation where we will get traffic from our parked .com domain sveasolar.com and the traffic will be re-directed to our live site sveasolar.se. But the site/publication that will give us this traffic demands that they can only link to a .com domain and that the visitor lands on the English version of our homepage which is sveasolar.se/en (created by weglot plugin). However this cause a re-direct issue because WordPress automatic re-direct function kicks in as it does not appear to view sveasolar.se/en as a true page. Re-direct checker show me this:

    Results:

    sveasolar.com

    HTTP/1.1 301 Moved Permanently
    Date: Tue, 21 Nov 2017 14:17:19 GMT
    Server: Apache
    Location: https://www.sveasolar.se/en
    Content-Length: 234
    Content-Type: text/html; charset=iso-8859-1

    https://www.sveasolar.se/en

    HTTP/1.1 301 Moved Permanently
    Expires: Tue, 21 Nov 2017 14:58:31 GMT
    Cache-Control: max-age=3600, public
    Content-Type: text/html; charset=UTF-8
    X-Port: port_10955
    X-Cacheable: YES:Forced
    Location: https://sveasolar.se/energistyrning/
    Transfer-Encoding: chunked
    Date: Tue, 21 Nov 2017 14:17:20 GMT
    Age: 1129
    Vary: User-Agent
    X-Cache: cached
    X-Cache-Hit: HIT
    X-Backend: all_requests

    https://sveasolar.se/energistyrning/

    HTTP/1.1 200 OK
    Cache-Control: max-age=0, public
    Expires: Tue, 21 Nov 2017 13:46:15 GMT
    Content-Type: text/html; charset=UTF-8
    X-Port: port_10955
    X-Cacheable: YES:Forced
    Transfer-Encoding: chunked
    Date: Tue, 21 Nov 2017 14:17:21 GMT
    Age: 1862
    Vary: Accept-Encoding, User-Agent
    X-Cache: cached
    X-Cache-Hit: HIT
    X-Backend: all_requests

    I urgently need help to adress this as the publication is very important for us

    https://wordpress.stackexchange.com/questions/71927/how-to-prevent-automatic-redirection

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter therealrobinrobin

    (@therealrobinrobin)

    We use plugin 301-redirects for our other re-directs but this redirect rule seen above is not created there. Nor in our hosting environment, this has been confirmed.

    Thread Starter therealrobinrobin

    (@therealrobinrobin)

    Wildcard re-direct

    Plugin Author Remy B

    (@remyb92)

    Hello,

    Yes if you go to https://sveasolar.se/en it will not work

    Try to add a slash at the end
    Try https://sveasolar.se/en/ instead and let me know

    Thread Starter therealrobinrobin

    (@therealrobinrobin)

    Works, thank you!

    I have another question about how the plugin works. Since I cannot find the English translated pages under the pages tab in WP. How do I for example set specific meta descriptions for the English version of the pages?

    Plugin Author Remy B

    (@remyb92)

    You can do this directly in your weglot account , in “Translations List”, you will find all your translations and you can manually edit them

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Re-direct plugi’ is closed to new replies.