Questions tagged [clean-urls]
The clean-urls tag has no summary.
78 questions
6 votes
1 answer
943 views
Do URLs that only consist of an id, for example, a timestamp, have a chance to succeed in SEO?
For example: https://example.com/12345678912/ vs https://example.com/keyword1-some-words/ Is URL still an important factor for Google?
2 votes
0 answers
702 views
Ahrefs Orphan Page Error - SEO Friendly Pagination using JavaScript
One of my clients is a Cybersecurity startup company. We are using a custom built theme on Drupal. We have a well-designed internal link building architecture. We have about 600 blog articles. We are ...
1 vote
0 answers
26 views
Clean URL structure: /{id}/{slug} vs /{id}-{slug} [duplicate]
I am making a url structure similar to that of Stack Exchange webmasters.stackexchange.com/questions/{id}/{slug}, where no matter the slug you type there will be a 301 redirect to the correct slug as ...
2 votes
2 answers
234 views
Do short URLs obligate 301 redirects?
Some content management systems such as WordPress and Drupal have Short URLs by default (if the webserver allows it), but at least one other --- MediaWiki, doesn't. Before I continue with the process ...
2 votes
0 answers
81 views
How to make a content management system to load webpages without a PHP loader and its query strings? [duplicate]
I have a MediaWiki 1.35.2 Hebrew website which is principally all core; I host that website on a shared Apache, Nginx (as reverse proxy), PHP and MySQL hosting environment. The default behavior of ...
4 votes
1 answer
545 views
Mod Rewrite Multiple Query String
I'm having trouble using modrewrite to redirect a URL with multiple strings. I have a PDF handling script. I want to redirect something like: https://www.example.com/pdfs/samplepdf.pdf/open [or /...
1 vote
1 answer
642 views
Clean URL's within subdirectories
I have a website with the following structure index.php contact.php about.html forum(dir) - index.php - thread.php What i want my htaccess to do Remove .php & .html extension, eg: when you ...
1 vote
0 answers
42 views
Modify rewrite rule to handle four ids rather than just one [closed]
I have rewrite rule which gives id from link to script and it works perfectly: RewriteRule ^index/viewproduct/id/(\d+)$ produkty/index.php?id=$1 [L] I need one more RewriteRule to handle URLS like: ...
0 votes
0 answers
129 views
Encoding spaces in urls for SEO when hyphens are already present in text
From my research it seems that hyphen - chars are the preferred word breakers in urls in respect to SEO. I'd like to use text in my urls for both SEO purposes and for functionality, consuming the text ...
1 vote
0 answers
50 views
Disallowing a handler in robots.txt while adding its dynamic URLs to the XML sitemap
I'm using ASP.NET webforms, and I have a page lets call it Subjects.aspx, I don't want crawlers to crawl that page but I want them to crawl the dynamic URLs that are powered by it. For example /...
0 votes
1 answer
183 views
Repetition Keyword URL Subfolder + Slug?
here's the question. In this sense, it is not keyword stuffing in the URL if it is mentioned once as slug and category. It would be more user friendly to have a short URL but it is questionable which ...
1 vote
0 answers
315 views
How to host a PDF on a Wix website using a SEO-optimised path?
I just created my first website with Wix. I want to add a PDF file to it. Wix suggests to upload the file to the Wix and then add a button/icon for users to open. The problem is, the path to this file ...
2 votes
1 answer
3k views
mod-rewrite - sending any URL with ".php/" to 404
I have a substantial number of rewrite rules in place for a variety of reasons such as: disallow indexes, set custom error pages, force non-www, https, strip trailing slash, redirect index.html or....
2 votes
0 answers
74 views
How should I restructure my URLs to make development easier while preserving SEO?
I am trying to fix the URL structure of an ecommerce site that has about 90k part pages. The site has no URL directory structure. Thus, all 90k pages are under the root like example.com/part-page-one. ...
2 votes
1 answer
475 views
How do I create clean URLs such that what is currently in a parameter goes in the path?
My url is http://localhost/store/product-detail.php?p=prod%name%test i want it to look like this http://localhost/store/prod-name-test or something like this as other stores do http://localhost/store/...