2017-05-19 8 views
0

WordPress(4.7.5)設定があり、URLパラメータをランディングページに渡そうとしています。アンパサンドのWordPress URLパラメータは404になります

/landingpage/?ID=1779 -

/landingpage/?ID=1779&name=james期待どおりに動作 - 404エラーページにおける結果

/landingpage/?ID=1779&name=james&company=microsoftから404エラーページにおける結果

404で '&' の結果をして、なぜ私の質問がありますどうすればこの問題を回避できますか?

はあなたの問題はあなたのURLに「アンパサンド」ではないのx

答えて

0

任意の入力いただき、ありがとうございます。しかし、それはクエリパラメータ "名前"です。 Wordpressには、カスタムクエリで使用すべきではないデフォルトのクエリパラメータがあるので、変更はよりユニークなものになります。

ベローは、使用できないデフォルトのワードプレスクエリバーです。

Array 
(
    [error] => 
    [m] => 
    [p] => 0 
    [post_parent] => 
    [subpost] => 
    [subpost_id] => 
    [attachment] => 
    [attachment_id] => 0 
    [name] => 
    [static] => 
    [pagename] => 
    [page_id] => 0 
    [second] => 
    [minute] => 
    [hour] => 
    [day] => 0 
    [monthnum] => 0 
    [year] => 0 
    [w] => 0 
    [category_name] => 
    [tag] => 
    [cat] => 
    [tag_id] => 
    [author] => 
    [author_name] => 
    [feed] => 
    [tb] => 
    [paged] => 0 
    [meta_key] => 
    [meta_value] => 
    [preview] => 
    [s] => 
    [sentence] => 
    [title] => 
    [fields] => 
    [menu_order] => 
    [embed] => 
    [category__in] => Array 
     (
     ) 

    [category__not_in] => Array 
     (
     ) 

    [category__and] => Array 
     (
     ) 

    [post__in] => Array 
     (
     ) 

    [post__not_in] => Array 
     (
     ) 

    [post_name__in] => Array 
     (
     ) 

    [tag__in] => Array 
     (
     ) 

    [tag__not_in] => Array 
     (
     ) 

    [tag__and] => Array 
     (
     ) 

    [tag_slug__in] => Array 
     (
     ) 

    [tag_slug__and] => Array 
     (
     ) 

    [post_parent__in] => Array 
     (
     ) 

    [post_parent__not_in] => Array 
     (
     ) 

    [author__in] => Array 
     (
     ) 

    [author__not_in] => Array 
     (
     ) 

    [ignore_sticky_posts] => 
    [suppress_filters] => 
    [cache_results] => 1 
    [update_post_term_cache] => 1 
    [lazy_load_term_meta] => 1 
    [update_post_meta_cache] => 1 
    [post_type] => 
    [posts_per_page] => 10 
    [nopaging] => 
    [comments_per_page] => 50 
    [no_found_rows] => 
    [order] => DESC 
) 
関連する問題