Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
1 answer
20 views

Is the value href in the base tag for reference only or points to a URL that must exist?

I once had a webpage where I set the href value of the base tag to the path where most links start with that path, but the href value isn't supposed to point to an actual page. Here's an example of ...
mike_s's user avatar
  • 129
1 vote
2 answers
1k views

Why is it that in folder structure used for Websites generally Web Pages are on same level of hierarchy as additional content related to them?

As someone getting started with web development seeing that web pages themselves and content related to them is on same hierarchy level in folder(directory) structure used for website development is ...
KeeperOfDs's user avatar
1 vote
0 answers
32 views

When doing URL forwarding from my custom domain from registrar to GitHub, mobile view doesn't work and gives tablet view instead

I have a website set up so that my custom domain forwards to my GitHub pages website. I set this so that it's easier to host static websites. When I view my website through custom domain on mobile ...
lilsolar's user avatar
0 votes
1 answer
1k views

Why isn't iframe designed to be able to load only a certain element of another website? [closed]

Reading the answers in iframe to Only Show a Certain Part of the Page, and given the fact that you can always hide and customize elements via the devtool, I have a hypothesis that the web (in general ...
Ooker's user avatar
  • 678
5 votes
5 answers
4k views

How can I upload my files to a domain that I bought?

I secured domain on register.ca, and I have it in my account. How would I go about actually uploading my HTML & CSS files onto the website? Previously, I just used GitHub to host my sites, so I'm ...
lilsolar's user avatar
1 vote
2 answers
158 views

Removing .html Extension On URL Inside Of An MAMP Server [closed]

Below is the code that I'm using on a .htaccess page in order to get rid of the ".html" at the end of the URL. It works fine on all pages except for one. Would any of the code on that one ...
Richard's user avatar
  • 19
2 votes
2 answers
2k views

How to remove all .html extensions from all pages of site running under Apache?

On a shared hosting environment based on CentOS-Bash, Apache (with Nginx as a "reverse proxy"), PHP and MySQL I host a MediaWiki website. Normally, no webpage has a .html extension. I have ...
timesharer's user avatar
3 votes
1 answer
192 views

How can I find and remove WordPress malware resulting in URLs with this styling: / top:0; left:-9999px

I'm breaking my head for 2 days with this one, and would appreciate some extra thoughts. These links are found in wp-content/cache/wp-rocket .html files only, while they are not present on the actual ...
Dorian C.'s user avatar
1 vote
1 answer
73 views

Home page title updated to fix a misspelling but Google still has the error

So recently I found that there was a misspelling on the URL title for my business in the google search and I fixed it within WordPress but it has updated on google yet, there is still that error. Does ...
Paige Hilliard's user avatar
1 vote
0 answers
9 views

How I can removie html extensions [duplicate]

I'm new at web development, I have a question, Thank you all for your answers. I made a website with HTML5 and CSS, I Published my website on my website host using FTP (FileZilla Client), But when I ...
Zac Roberts's user avatar
0 votes
2 answers
157 views

How can I determine where a login form is submitted?

I want to write a program which will log in to squareup.com. So for this I need to know where the form is located and to where is it submitted. So the form is located at https://squareup.com/login, ...
sequence's user avatar
  • 101
7 votes
1 answer
1k views

Does itemprop have a different meaning on links vs. span tags?

I'm using Schema.org markup for a Person, but I get inconsistent results in Google's Rich Snippet Testing Tool when using an <a> tag vs. a <span> tag. Take these two examples: <span ...
DisgruntledGoat's user avatar
3 votes
1 answer
345 views

Issue with 301 redirect to Index page only

I have a bunch of 301 redirects in my .htaccess for old pages, which work great. But a problem that's been plaguing me for years is that there's a lot of links out there to my old index page (index....
ola.rogula's user avatar
-1 votes
1 answer
817 views

How to use a canonical link tag in a static page?

What is canonical linking and how can I use it in a static site? How do we use canonical linking? Suppose we have two pages page1.html and page2.html, I want to canonical linking for page2. Where ...
jyothsna shekar's user avatar
1 vote
2 answers
221 views

Why would my website suddenly require absolute URLs for CSS?

So for months on this site I've had paths to my CSS files that look like: /css/syles.css and they've worked fine. Today I updated the file and saw my changes weren't being reflected in the browser. ...
MeltingDog's user avatar
  • 1,373
2 votes
1 answer
483 views

My users are getting 302 Found page if they don't write https in address bar, how can I prevent this?

I host a forum website in DigitalOcean's cloud servers, using Ubuntu 16.04, Apache 2.4.20, PHP 7.0.8 and MySQL 5.7.12. I tried to troubleshoot with cURL about what is the problem, these are the ...
Beltasbur's user avatar
9 votes
4 answers
24k views

Are spaces in "href" valid?

Is <a href=" #id "> (note spaces) correct (X)HTML? Does it mean the same as <a href="#id">?
porton's user avatar
  • 383
6 votes
2 answers
4k views

Should URLs with UTF8 characters be encoded in HTML?

I'm thinking of names and stuff containing accented characters. E.g.is there a difference between: <a href="http://example.com/thing?name=forêt">link</a> and <a href="http://example....
Tom's user avatar
  • 498
2 votes
1 answer
1k views

Must the image url in a sitemap file begin with the same domain the file is stored on?

I remember when making a sitemap, all URLs defined in between <loc> and </loc> must be part of the same domain as the domain the file is stored on. For example, I can use this line in my ...
Mike -- No longer here's user avatar
1 vote
1 answer
165 views

URL query is adding an unecessary comma

I am trying to automatically place login data through a URL query for my university services. (https://login.gatech.edu/cas/login) two problems arise when I try to pass a URL query (Ex: https://login....
user38877's user avatar
1 vote
1 answer
122 views

Port numbers appearing in the URLs on my development site under Apache and Python

I've built a static site. Locally, when I serve the content with python -m SimpleHTTPServer everything behaves normally, but when I copy the HTML onto the server and browse the site at the server's ...
glifchits's user avatar
  • 111
28 votes
4 answers
42k views

What is the purpose of leading slash in HTML URLs?

I have noticed that some blogs posts have links using a value starting with / in the href. For example: <a href="/somedir/somepage.html">My Page</a> Does the leading / mean the path is ...
Jérôme Verstrynge's user avatar
2 votes
1 answer
2k views

Do some mail clients automatically urldecode %2b strings?

We have an email address verification process on our website. The site first generates an appropriate key as a string mykey It then encodes that key as a bunch of bytes &$dac~ʌ����! It then ...
Yellowfog's user avatar
  • 123
0 votes
2 answers
1k views

Creating temp/fake URLs for user generated content

I'm working on a site that hosts classified listings. I'm currently using hash/query params and Ajax to display content. Example: www.site.com/viewpost?id=34089 We are now interested in making ...
user avatar
6 votes
3 answers
7k views

Do I really need to remove special characters in a URL?

I have an FTP account shared with friends where we upload underground music albums and then we use the links to share the downloads in a music forum. The problem is that the album names are in french ...
anarchoi's user avatar
6 votes
1 answer
1k views

What is the way to properly implement a Facebook Like button on a page for best SEO purposes?

On our site we want to put a Facebook Like button/widget-thingy. It is possible to create a like button, where the URL associated with the button is the page it sits on, rather than a Facebook page. ...
ElHaix's user avatar
  • 895
0 votes
1 answer
142 views

Would this be considered keyword stuffing?

we have a website with a lot of galleries filled under a couple of different categories. A while ago we migrated all the URLs from for example: http://domain.com/blog/post/1225/bakemonogatari-cosplay-...
Dejan Pelzel's user avatar
5 votes
1 answer
3k views

What's the deal with URLs for Yandex.Metrica not prepended with "http"?

The description of Yandex.Metrica explicitly says that URLs like //mc.yandex.ru/metrika/watch.js (no http: in front) that the web site owner has to insert into his pages are not erroneous. So for ...
sharptooth's user avatar
2 votes
2 answers
239 views

How to inform search engines that my site support multilanguages?

The website i am working on is translated to 8 languages (English, Chinese, Japanese, Arabic, Hindi, Russian, Spanish and Portuguese). Each time the user select a language, the URL stays the same as ...
CompilingCyborg's user avatar
1 vote
2 answers
3k views

Using ending .html for URL re-write?

For re-writing URLs to generate SEO friendly pretty URLs, it was usually recommended to use the ending extension (normally .html), as without the extension, the URL seems to be incomplete. Probably, ...
Googlebot's user avatar
  • 452
3 votes
1 answer
1k views

CMS Made Simple: Why does home page return a 404 under www subdomain?

Anyone know why my homepage won't load with the www prefix. Links such as www.example.com/about-us will load fine but www.example.com returns a 404. Every page works including the home page if ...
user avatar
1 vote
1 answer
53 views

Link absolute URIs correctly when loading pages locally

When developing pages, I like to load them in my browser locally to see how they look rather than have to deploy them to the server every time. I'm using Lift and server deployment takes a few seconds,...
Owen Fraser-Green's user avatar