Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Forum: Fixing WordPress
    In reply to: Slug issue

    Navigate to Settings > Permalinks in your WordPress dashboard. Ensure you’re using a permalink structure that includes the post name. For example, the “Post name” option is good for SEO and readability.

    1. Go to Pages > All Pages in your WordPress dashboard.
    2. Find the “Contact” page and click Edit.
    3. Locate the “Permalink” section on the right side of the editor. This displays the current slug as “contact-2”.
    4. Click the “Edit” link next to the slug.
    5. Change the slug to “contact” (without the “-2”).
    6. Click the “Save Draft” button and then “Publish” to update the changes.

    After changing the slug, it’s essential to redirect the old “contact-2” URL to the new “contact” URL to avoid broken links and maintain SEO value.

    Add the following CSS code, replacing <code class=””>.main-navigation li a with the actual CSS class of your menu items (you can inspect your site with your browser’s developer tools to find this):

    CSS

    .main-navigation li a {
      border-bottom: 1px solid #ccc; /* Adjust color, thickness as needed */
    }

    After adding this code your menu should look like this page.

    • This reply was modified 2 years, 3 months ago by hum98.
Viewing 2 replies - 1 through 2 (of 2 total)