Questions tagged [permanent]
119 questions
0
votes
2 answers
htaccess permanent redirect from file that doesn't exists anymore
I got an old Peel shop that I moved on Prestashop. Before switch it live, I would like to keep the Google ranks I got on some products (approximatly 100 products).
So far I make my tests on Prestashop pre-prod server, with a domain name like…

Nicolas BONNIOT
- 53
- 6
0
votes
2 answers
301 Redirect index.php?dir= to a folder?
I want to redirect the following
http://www.example.com/folder/index.php?dir=Dir1
http://www.example.com/folder/index.php?dir=Dir1/Dir2
to
http://www.example.com/folder/Dir1
http://www.example.com/folder/Dir1/Dir2
I want to "301 Redirect" it NOT…
user1170540
0
votes
2 answers
Redirect all but some to new URL?
I am moving site and I want to do a 301 redirect on all but some of the URLs,
Like this:
oldsite.com/* -> www.newsite.com
oldsite.com/specific/article/to/redirect -> www.newsite.com/fancy/blah
So there are a few things I want to redirect to specific…

Myles Gray
- 8,711
- 7
- 48
- 70
0
votes
3 answers
PHP "permanent variable"
I'm currently working at a WordPress Plugin.
It supports shortcode and creates DOM elements, when the shortcode is called.
Now my problem:
I want to identify the elements.
So when the shortcode gets called the first time it should return something…

Julian F. Weinert
- 7,474
- 7
- 59
- 107
0
votes
0 answers
Images permanently inserted into python code
I want to permanently inserted images into python code (which creates excel)
I have code that create excel from some other files. I want to create an .exe file so that anyone can open my app and create an excel.
This file (excel) should have 2…

ASAS
- 41
- 8
0
votes
1 answer
How can I add a permanent variable to a Wordpress form and change it in future
There are several questions about this with several replies but (being a newbie to Wordpress & PHP etc) either I don't understand the replies or, when I do, the solutions don't work. Could someone give me a very simple answer to a very simple…

StuKing
- 11
- 1
0
votes
1 answer
Display permanent Widget under AppBar in Flutter
I would like to implement small audio player controlls directly under the AppBar if an audio is playing. This can be seen in many apps like Telegram.
Example:
How to realize that in Flutter? The Player has to be displayed on all Screens! Like a…

skm
- 559
- 1
- 6
- 22
0
votes
0 answers
How to share variable in PHP from webpage script to script running permanently from the command line
I have a script running permanently from command line on a web server.
There is a loop checking new stuff in DB.
To save some load I need to add a condition not to check the DB if there is no reason.
When the change occurs I need immediate reaction,…

Láďa
- 5
- 4
0
votes
1 answer
perlbrew switch path order not permanent on MacOS Big Sur 11.4
I'm writing a step-by-step instruction guide to installing perlbrew on a newly built (from ISO) MacOS Big Sur (11.4) VM running on VMware Fusion.
I have been able to successfully install perlbrew. Here is what perlbrew info looks like:
perlbrew…

JBlaty
- 1
0
votes
1 answer
set tab-stop = 2 in vim permanently for a file
How to set the tab size as 2 for a file permanently in vim as whenever I open a file in other editors like nano or upload the file in github then my indentations are all incorrent whenever I try to resize the tab to 2 for an existing file which has…

Akash
- 75
- 1
- 8
0
votes
1 answer
Flutter : 308 Permanent Redirect response. Issue found only on Flutter code. Expected response received on postman
Below is the response I get while requesting a Post web service via Flutter. When I try the same web service using postman, I get the expected response. What am I missing?
308 Permanent…

ABM
- 565
- 7
- 18
0
votes
0 answers
Make markers layer permanent leaflet
Simple enough to add markers to leaflet map using onClick but every time I refresh the markers have been removed and I have to start over. How do I make the markers permanent so that on subsequent refresh I can add to them? Here is the current…
0
votes
0 answers
Display information on the top right in C
I'm trying to program a simple rpg game in C and I would want to display some permanent information on the top right of the screen.
Right now I've only seen the text and information that i print to screen at the bottom, but I was wondering whether…

Frost1801
- 13
- 2
0
votes
1 answer
Is there a way to share a variable (within a shared lib) between processes?
I would like to initialize a complex variable within a shared library, but only once. Afterwards I would like to share the now initialized variable with all processes that are using this lib.
Example
Let's say the lib is called libgetx.so and it is…

ataraxis
- 1,257
- 1
- 15
- 30
0
votes
1 answer
How can I make a permanent 2d list(Python)
In my code, I want to have a list that when the file is closed, I can still access the filled list when rerunning it. For example, if I have a list = [1] in a file, I want it to be able to be filled permanently. Idk if that makes sense. Like list =…

Gabriel Baia
- 9
- 4