Linking a page to widget on homepage

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”).

URL slug is about for the page under Document heading

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

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

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.

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

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?

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

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.

Thanks so much it works now



Source link