Viewing 4 replies - 1 through 4 (of 4 total)
  • _

    (@viniciusandre)

    What page is “?page_id=3&category=10”?
    What’s the error, exactly?

    If it’s a category, that’s a wrong way of accessing category pages.

    If you changed the URLs to pretty permalinks, you must be sure to use the URL functions on all links in your theme. Like get_permalink() or get_category_link().

    Also, you must have mod_rewrite enabled in your server (check phpinfo() for that), and the .htaccess file in the root of your WordPress installation must have the required rules (see the permalinks option page, it gives you the .htaccess content if there’s no server writing permission for the file).

    Thread Starter jeyush

    (@jeyush)

    It’s a products-page with page_id=3,

    Now the error is, I am not able to access my products-page,

    error-The requested URL /wordpress/products-page/po-campo1/ was not found on this server.

    waiting…

    Thread Starter jeyush

    (@jeyush)

    I have permalinks set up.
    Before permalinks setup I have query string like this,

    https://localhost/wordpress/products-page?category=2&product_id=11

    And by changing it to permalinks to numeric,

    It shows ;
    https://localhost/wordpress/products-page/po-campo1/product-3

    There is
    po-campo1 is category
    product-3 is product in po-campo1 category.

    So, how can I get category_id and product_id at the top of the page?

    If you know that please share it with me, I really need it.

    _

    (@viniciusandre)

    Hi jeyush.

    That’s confusing to me. Are you using a specific plugin or theme to generate such URL? I’m just stuck to help you too.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘page_id replaced with products-page’ is closed to new replies.