Changing internal URL path for SEO

301 redirect is the best option, if your old path url match intent with new path url.


Your old url path is and your new url path is

Then, 301 redirect is the best option, so your old url path reputation stay in new url path.

And for your confusion of spam, not worry about it google will not get you spam, google when re-crawl and see your 301 redirection then they take time to showing your old url path to new url path in google result.

html – Are absolute or root-relative internal links better for SEO?

Does website seo score changes the way writing internal links as:

<a href='' title='abc'>Abc</a>


<a hef='/def' title='abc'>Abc</a>

I know that linking would be same but what to know the impact on SEO the internal link way there are written.

seo – Best way to write internal link

Does website seo score changes the way writing internal links as:

<a href='' title='abc'>Abc</a>


<a hef='/def' title='abc'>Abc</a>

I know that linking would be same but what to know the impact on SEO the internal link way there are written

php – why the internal server error occured when using finfo_file function?

My code is that

  if (in_array($file_ext, $extensions)) {

              $finfo = finfo_open(FILEINFO_MIME_TYPE);
              $mime = finfo_file($finfo, $file_tmp);
              if ($mime == 'application/msword' || $mime == 'image/gif' || $mime =='image/jpeg' || $mime =="image/png") {

                  move_uploaded_file($file_tmp, $file);


    $errors() = 'Extension not allowed: ' . $file_name . ' ' . $file_type;


Console writes that POST http://localhost:82/diplomna/process.php net::ERR_ABORTED 500 (Internal Server Error), after code executing. Where the mistake can be?

javascript – Allow Iframe on pages with X-Frame header for internal use on Firefox to read external HTML – the secure way – client-side-only solution

I am trying to customize my workflow. I am working at an IT company and we are running many services for managing our customers, running on different domains. I want to embed one page to the other page using a Grease-monkey script (Javascript injection), to read values from the other page and show it on the current page. The Iframe is supposed to be a 1×1 size, since the page itself is not important.

However, as with most pages today, the Iframe on external pages is blocked. Even more strange, I cannot find any X-frame settings in the header of the page whatsoever, yet Firefox decides to block the embedding of the page.

Is there a way, to make embedding possible?

There is a plugin called Ignore X-Frame-Options Header by ThomazPom for firefox, but since there are only 15000 users, I doubt, that this can be considered safe for a production environment. Our internal systems are working with thousands of customers, so I cannot risk a data leak.

Is there a way, to locally allow the embedding of “external” pages into another using iframe?

In case you doubt my usecase: This only needs to work on my browser, since it is customized a lot.

Everything that works without totally ruining performance is acceptable.

If there is another way to read out and interact with extermal HTML, which is not visible in the viewport, without Iframe, please let me know.

Formula to calculate overhead(space for indirect blocks and internal fragmentation) used?

Im trying to find a formula to determine the over head used in a file system. We are given a 2GB file and have 2KB blocks in a UNIX filesystem. Im trying to find the formula used to determine the space is used by overhead in this example.I couldn’t find a formula anywhere I looked online.

design – Where to store the results of a class internal computation?

Let’s say I have a class with some suitable instance variables which are then used for some computation (via a method of the class). As the computation will generate lots of data which needs to be accessed by other classes, it needs to be stored somewhere.
What is the best way in this scenario?
Obviously you can store the result inside the class but that couples logic and data. Another option might be generate separate data class but I am not sure if that is a bad design.

internal storage – How to recover from encryption problem?

I encrypted my phone with a lockscreen, and accidentally messed up the system and TWRP. I’ve since formatted it anyway and I’m using it normally, this time of course without root anymore lol. But, I took a backup of the data before that in case there is a chance. Can I decrypt it somehow if I still remember the lockscreen? Since I’ve already formatted the phone to a new system I can’t grab encryption keys from there anymore, but can I just input it from another software that can read the files? I read about this online and there’s a bunch of weird commands apparently you need to type into the system and I’m not too familiar with this as I don’t want to mess up anything, and it’s really quite complicated stuff to understand. What I got from this was you would format the phone again in order to recover the filesystem stuff, which obviously I can’t do. So what’s the solution here?

linux – Host internal port redirection while blocking target port externally and having docker running

This might be simple but after spending ~5 hours w/ iptables and googling, I couldn’t make it work, so I thought I’ll ask here directly.

I have an ubuntu machine with Docker installed (so it manipulates iptables..)
I have a container that runs in it, and listens on port 80

On the host machine I need to both redirect incoming external traffic whose dest_port is 8080 to port 80 (I would prefer this to happen as early as possible, w/o assuming the listener is a docker container / docker-user chain at the iptables), but if that’s not possible I can compromise on assuming it’s a docker that listens on port 80.

And, to drop any traffic incoming into port 80 externally.

I’ve tried:
PREROUTING w/ setting a mark on tcp dest port 80, later dropping all marked packets at INPUT chain

the redirection works, external browsing to 8080 works.
the problem is, external access to 80 works as well.

Any ideas?

(I prefer the external filtering to be interface-specific, but that’s not a must).
(I also prefer blocking “all” incoming traffic from that specific interface, but any attempt to switch INPUT to deny/drop make the entire machine’s net non-accessible even internally)

Many thanks in advance !