Homepage template and url changed?

Question

when I activated the theme. it is only one page. the navbar links are Home #About #Services #Contact

the problem when I make template name on the frontpage

<?php

/* Template Name: front-page */ 
get_header(); ?>

then I created a page from the dashboard called Home

it added slug /home at the end of the url

so the website url differed because of this homepage template. it added the home slug the url. I need to remove /home slug. just want the same link without changing.

what should I do, please? to make template for homepage without changing the url of the website?

and many thanks in advance.

0
social 4 months 0 Answers 8 views 0

Leave an answer