• Resolved kbhal

    (@kbhal)


    I am a new user of wordpress hosting and don’t know anything abt website dev. I added a widget for About us on the home page. I created a page for About me with permalink https://komalbhalla.com/?page_id=143. I have added this link in button url under About us widget. But on clicking About me on komalbhalla.com it shows an error

    • This topic was modified 4 years, 4 months ago by kbhal.

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    When you view that page in the editor, what’s it’s slug?

    For example, See https://i.imgur.com/JQNaX60.png

    By the way, under SETTINGS->PERMALINKS, enable one of the options other than “plain” so the slug of that page has some meaning (e.g., “about”).

    Thread Starter kbhal

    (@kbhal)

    URL slug is about for the page under Document heading

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    What’s in your site’s .htaccess file?

    Thread Starter kbhal

    (@kbhal)

    sorry steven, unable to locate htaccess file..could you pls help me locate it..thnks

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    It should be in the root of your site. It’s a hidden file (.htaccess), so make sure hidden files are enabled when you use the file manager in your hosting control panel.

    Thread Starter kbhal

    (@kbhal)

    Content of .htaccess file:

    # BEGIN WordPress
    # The directives (lines) between BEGIN WordPress and END WordPress are
    # dynamically generated, and should only be modified via WordPress filters.
    # Any changes to the directives between these markers will be overwritten.
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    That looks correct. As your site works for getting to your blog post, I think it’s working, too. So, let’s focus on the issue with the about page.

    Please create a new page with the title “Test” and put in a bunch of lorem ipsum junk content. What happens after you publish it? Does example.com/test work?

    Thread Starter kbhal

    (@kbhal)

    yes komalbhalla.com/test/ is working, however komalbhalla.com/about/ is not working

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Whatever’s the issue, it seems to be with that one page, so …. Delete (trash) the about page, empty trash, and make a new one, then fix the link you’ve put on the home page.

    Thread Starter kbhal

    (@kbhal)

    Thanks so much it works now

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Linking a page to widget on homepage’ is closed to new replies.