It seems an error because you have not enter the correct path in url.py
file. You should enter Path("www.websitename.com/about",name=("about/")On Wed, Dec 22, 2021, 5:35 AM Kasper Laudrup <[email protected]> wrote: > On 21/12/2021 22.17, Johnbosco Francis wrote: > > i have hosted my Django website on cPanel, But am facing an issue with > URL > > when I try www.mywebsite.com it works but when i try accessing other > > pages like www.mywebsite.com/about am getting 404 error. > > > > any help will be appreciated > > > > It's hard for anyone to help you if you're not sharing your code and > details on how you've deployed it. > > Kind regards, > > Kasper Laudrup > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/e807c5f6-bc73-c17b-959e-c65efd3c3015%40stacktrace.dk > . > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CANJR2XdVPciOUOOq7O0QdVPp_bb1RPEazVFk%2BgLThtFeAU6u6Q%40mail.gmail.com.

